SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE PROCEDURE [dbo].MonedasUpdateCommand
(
	@ID numeric(10, 0),
	@MONEDA varchar(10),
	@ACTIVO bit,
	@Original_ID numeric(10, 0),
	@Original_MONEDA varchar(10),
	@Original_ACTIVO bit
)
AS
	SET NOCOUNT OFF;
UPDATE [MONEDAS] SET [ID] = @ID, [MONEDA] = @MONEDA, [ACTIVO] = @ACTIVO WHERE (([ID] = @Original_ID) AND ([MONEDA] = @Original_MONEDA) AND ([ACTIVO] = @Original_ACTIVO));
	
SELECT ID, MONEDA, ACTIVO FROM MONEDAS WHERE (ID = @ID)
GO
